From: Marco Trevisan (TreviƱo) Date: Mon, 25 Feb 2019 14:53:25 +0000 (+0100) Subject: st-shadow: Define autoptr cleanup function for StShadow X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~888^2^2~69 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ca4d86e9e549982761d07a3e48320f20e2383343;p=gnome-shell.git st-shadow: Define autoptr cleanup function for StShadow https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5 --- diff --git a/src/st/st-shadow.h b/src/st/st-shadow.h index 8173f34f4..2870d41dd 100644 --- a/src/st/st-shadow.h +++ b/src/st/st-shadow.h @@ -72,6 +72,8 @@ void st_shadow_get_box (StShadow *shadow, const ClutterActorBox *actor_box, ClutterActorBox *shadow_box); +G_DEFINE_AUTOPTR_CLEANUP_FUNC (StShadow, st_shadow_unref); + GType st_shadow_helper_get_type (void) G_GNUC_CONST;